package com.jia.product.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Getter;

import java.io.Serializable;

/**
 * sku图片(SkuImages)表实体类
 *
 * @author makejava
 * @since 2025-07-08 18:15:27
 */
@Getter
@SuppressWarnings("serial")
@TableName("pms_sku_images")
public class SkuImages extends Model<SkuImages> {
    //id
    @TableId
    private Long id;
    //sku_id
    private Long skuId;
    //图片地址
    private String imgUrl;
    //排序
    private Integer imgSort;
    //默认图[0 - 不是默认图，1 - 是默认图]
    private Integer defaultImg;


    public void setId(Long id) {
        this.id = id;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public void setImgSort(Integer imgSort) {
        this.imgSort = imgSort;
    }

    public void setDefaultImg(Integer defaultImg) {
        this.defaultImg = defaultImg;
    }

}

